html{overflow-y:scroll}
/* 基础样式 */
html,body {
    font: 15px/1.7 "微软雅黑";
    color:#404040;
    background-color:#fff;
}
body,p,pre,blockquote,
h1,h2,h3,h4,h5,h6,          
dl,dt,dd,ul,ol,li,          
form,legend,select,
input,textarea,button,      
table,caption,tr,th,td {
    margin:0;
    padding:0;
}
ol,ul {
    list-style:none;
}
img {
    border:0 none;
    max-width: 100%;
}
a {
    color: #008000;
    text-decoration:none;
}
a.hover,
a:hover{
    color: #C30;
    text-decoration: underline;
}
.book-content{
	line-height: 30px;
	margin: 5px 12px;
	padding: 6px;
}
.book-title,.book-footer {
	margin:5px 12px;
	padding:6px;
	height:36px;
	line-height:36px;
}
.book-title h1 {
	float: left;
    font-size: 25px;
    color: #0382AD;
}
.book-title .description{
    clear: both;
    background-color: #C3E1FF;
    border-top: 1px solid #4E6B33;
    clear: both;
    padding: 2px 6px;
    font-family: "宋体";
    font-size: 14px;
    line-height: 1.8;
}

.book-content h1,
.book-content h2{
    font-size: 20px;
    margin-top: 16px;
    border-bottom: 1px solid #EEE;
}
.book-content h3,
.book-content h4,
.book-content h5,
.book-content h6{
    font-size: 16px;
    margin-top: 14px;
}
.book-content p{
    padding: 8px 0;
}
.book-content ul{
    list-style: circle;
    padding-left: 20px;
}
.book-content ol{
    list-style: decimal;
    padding-left: 20px;
}
.book-content blockquote{
    border-left: 5px solid #D0E3F0;
    margin: 8px 0;
    padding: 8px 16px;
    background-color: #F0F7FD;
    color: #0382AD;
}
.book-content table{
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    border: 1px solid #DDD;
}
.book-content tbody tr:nth-child(odd){
    background-color: #F9F9F9;
}
.book-content th{
    padding: 6px;
    text-align: left;
    border: 1px solid #DDD;
    border-top: 0 none;
    border-right: 0 none;
	background-color:#EEE;
}
.book-content td{
    padding: 6px;
    text-align: left;
    border: 1px solid #DDD;
    border-right: 0 none;
    border-bottom: 0 none;
}
.book-content th:first-child,
.book-content td:first-child{
    border-left: 0 none;
}
.book-content tbody tr:hover td{
    background-color: #F1F4FF;
}
.book-content code{
    font-family: Consolas, "Liberation Mono", Courier, "微软雅黑";
    background-color: #F9F2F4;
    color: #C7254E;
    padding: 2px 4px;
    margin: 0 2px;
    white-space: nowrap;
}
.book-content pre{
    position: relative;
    font-family: Consolas, "Liberation Mono", Courier, "微软雅黑";
    background-color: #F9F9F9;
    border: 1px solid #DDD !important;
    color: #333;
    display: block;
    margin: 0;
    padding: 6px !important;
    word-wrap: break-word;
    word-break: break-all;
}
.book-content pre ol{
    color:#2BA5D8;
    padding-left: 36px;
}
.book-content pre li{
    border-left: 1px solid #DDD;
}
.book-content pre code{
    background-color: transparent;
    color: #333;
    padding: 0 0 0 2px;
    white-space: pre-wrap;
    margin: 0;
    border-left: 1px solid #FFF;
    height: 100%;
}
.book-content pre .copycode{
    position: absolute;
    display: none;
    right: 0;
    top: 0;
    border: 1px solid #DDD;
    border-top: 0 none;
    border-right: 0 none;
}
.book-content pre .copycode a{
    font-size: 12px;
    line-height: 24px;
    padding: 0 10px;
    display: inline-block;
}
.book-content pre .copycode.hover,
.book-content pre:hover .copycode{
    display: block;
}

.book-content h1 + table,
.book-content h2 + table,
.book-content h1 + pre,
.book-content h2 + pre{
    margin-top: 8px;
}


.page {
	float:right
}
.page a {
	line-height: 99px;
	overflow:hidden;
	display:inline-block;
	margin-right:10px;
	width:36px;
	height:36px;
}
.page .prev {
	background-position: 0 0;
}
.page .prev:hover {
	background-position: 0 -95px;
}
.page .index {
	background-position: 0 -190px;
}
.page .index:hover {
	background-position: 0 -238px;
}
.page .next {
	background-position: 0 -48px;
}
.page .next:hover {
	background-position: 0 -143px;
}
/* prettify.css */
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
pre.prettyprint{
    border-color:#D1D7DC;
}
ol.linenums{
    margin-left: 40px;
}
ol.linenums li{
    list-style-type:decimal;
    background:#fff;
    color:#2B91AF;
    border-left:1px solid #D1D7DC;
    margin-left:2px;
    padding-left:10px;
}
ol.linenums li::after{
    content: '';
}